package cn.wh.bean;

import cn.wh.aop.MethodBeforeAdvice;

import java.lang.reflect.Method;

/**
 * @Description TODO
 * @Version 1.0.0
 * @Date 2022/11/22 14:33
 * @Created wh
 */
public class UserServiceBeforeAdvice  implements MethodBeforeAdvice {
    @Override
    public void before(Method method, Object[] args, Object target) throws Throwable {
        System.out.println("拦截方法：" + method.getName());
    }
}
